<?php

class Workset_Form_Element_Button extends ZendX_JQuery_Form_Element_UiWidget {

    public $helper = "jQueryButton";

    public function loadDefaultDecorators()
    {
        if ($this->loadDefaultDecoratorsIsDisabled()) {
            return;
        }

        $decorators = $this->getDecorators();
        if (empty($decorators)) {
            $this->addDecorator('UiWidgetElement')
                 ->addDecorator('Tooltip')
                 ->addDecorator('DtDdWrapper');
        }
    }

}

?>